package com.example.design.bilibili.state;

/**
 * 奖品发放完成状态
 */
public class DispenseOutState extends State{

    //初始化时传入活动引用，发放奖品后改变其状态
    RaffleActivity activity;

    public DispenseOutState(RaffleActivity activity) {
        this.activity = activity;
    }

    @Override
    public void deductMoney() {
        //System.out.println("奖品发放完了，请下次再参加！");
    }

    @Override
    public boolean raffle() {
        //System.out.println("奖品发放完了，请下次再参加！");
        return false;
    }

    @Override
    public void dispensePrize() {
        System.out.println("奖品发放完了，请下次再参加！");
    }
}
